define(['model'], function (Model) {
    function Print(params) {
        this.fields = [];
        this.fields.push({
            name: 'catalog', alias: '目录', type: 'select',
            optionsText: 'text',
            optionsValue: 'text',
            options:[{text:'档案移交目录（A4横）'},{text:'卷内目录（A4纵）'},{text:'案卷封面'}],
            validator:['required']
        })
        this.fields.push({name:'archiveIds',type:'checkboxes',alias:'档案号',options:params.archiveIds,option:{col:12,displayField:'classifyNo',valueField:'id'}});
        this.fields.push({name:'changePage',type:'checkbox',alias:'',label:'转换页数为页次'});
        this.fields.push({name:'printAll',type:'checkbox',alias:'',label:'全部打印'});
        this.callParent({isKo: true});
    }

    Print.extend(Model);

    return Print;
});
